{% extends "base.html" %}
<script type="text/javascript" src="/static/js/jquery.treeview.js"></script>
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
{% block header %}
<link rel="stylesheet" type="text/css" href="/media/css/forms.css">
<script type="text/javascript" src="/static/js/jquery.treeview.js"></script>
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/static/js/date/WdatePicker.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#f").hide();
	$("#search").click(function(){
		$("#f").show();
	});
	$("#shouqi").click(function(){
		$("#f").hide();
	});

});
</script>
{% endblock %}

{% block menu %}
    {% include "alert-menu.html" %}
{% endblock %}

{% block content %}
	<div id="mon-tit">
	    <div class="left">报警管理 >> 报警接受人</div>
	</div>
	<div class="clr"></div>
	<hr />
	<h3 class="tit">报警接受人</h3>
	<div  class="flow-dis">
	    <div class="title">
	        <span style="width:20%">用户ID</span>
	        <span style="width:25%">用户名</span>
	        <span style="width:30%">上次登录时间</span>
	        <span style="width:25%">操作</span>
	    </div>
	  {% for u in  alert_user %}
	    <div class="{% cycle 'ji' 'ou' %}">
	        <span style="width:20%">{{ u.id }}</span>
	        <span style="width:25%">{{ u.username }}</span>
	        <span style="width:30%">{{ u.last_login|date:"Y-m-d H:i:s" }}</span>
	        <span style="width:25%"><a href='/alert/reset?id={{u.id}}'>报警修改</a></span>
	    </div>
	{% endfor %}
	</div>
{% endblock %}
